package demo;

public class ThreadTest {

    public static void main(String[] args ) {
        //创建线程对象 传入Runnab对象
        Thread thread = new Thread(new MyRunnable());
        //启动线程
        thread.start();
    }
}
